include "Data.thrift"

namespace java com.zzz.thrift.service.api

	struct Detail {
			1:i32 dataId,
			2:string content
	}
	struct Data {
			1:i32 id,
			2:string name,
			3:list<Detail> detailList
	}

	service TestService {
		 	bool upload(1:Data arg0),
		 	bool batchUpload(1:list<Data> arg0)
	}